package com.bearlair.ch1;

/**
 * 继承Thread创建线程
 */
public class ThreadExtend extends Thread{

    @Override
    public void run() {
        super.run();
        System.out.println("Thread Extend start");
    }

    static class InnerStarter{
        public static void main(String[] args) {
            ThreadExtend tx = new ThreadExtend();
            tx.start();
        }
    }
}
